Script.Installer = async () => {
    
    const file = FileManager.local();
    
    pathDJG=file.libraryDirectory()+"/DJG.js";
    const UPURL = `https://gitee.com/script_djg/scriptable/raw/master/Script/temporary/DJG.js`
    D = await new Request(UPURL).load(); 
    console.log('[+] 配置开发环境..');
    file.write(pathDJG, D);
    
    let a = new Alert();
    a.title = "配置成功！";
    a.message = "\n修复 Scriptable 1.7 版本组件异常问题";
    a.addCancelAction("确定");
    await a.presentAlert()
    
    console.log('[-] 删除自身..')
    file.remove(module.filename);
};